(use-package anki
  :if (executable-find "sqlite3")
  :bind
  ("C-c a a" . anki)
  :hook
  ((anki-mode anki-card-mode) . shrface-mode)
  :load-path "/home/qrthi/documents/projects/elisp/anki"
  :init
  (autoload 'anki "anki")
  (autoload 'anki-browser "anki")
  (autoload 'anki-list-decks "anki")
  :custom
  ;; (anki-shr-rendering-functions (append anki-shr-rendering-functions shr-external-rendering-functions))
  (sql-sqlite-program (executable-find "sqlite3"))
  (anki-collection-dir "/home/qrthi/.local/share/Anki2/User 1")
  ;; (require 'shrface)
  (anki-audio-player (or (executable-find "aplay") (executable-find "afplay")))
  )
